package 第七周;

public class PC {
    private CPU cpu;
    private HardDisk HD;
    public PC()
    {
        cpu = new CPU();
        HD = new HardDisk();
    }
    public void setCpu(CPU cpu) {
        this.cpu = cpu;
    }
}
